package com.itljm.cxrMarket.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itljm.cxrMarket.entity.Categories;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategoriesMapper extends BaseMapper<Categories> {
    List<Categories> selectCategoriesPage(Page<Categories> page, @Param("ew") Wrapper<Categories> entityWrapper);
    Integer selectCategoriesIdByName(@Param("categoryName") String categoryName);
}




